package com.robot.member.constant;

/**
 * @author lin
 * redis的key前缀
 */
public class Constant {
    /**
     * 会员登录用的短信计数标识
     */
    public static final String MEMBER_LOGIN_SMS_COUNT = "memberLoginSmsCount_";

    /**
     * 会员登录用的短信验证码标识
     */
    public static final String MEMBER_LOGIN_CAPTCHA = "memberLoginCaptcha_";

    /**
     * 会员修改密码用的短信计数标识
     */
    public static final String MEMBER_CHANGE_PASSWORD_COUNT = "memberChangePasswordCount_";

    /**
     * 会员修改密码用的短信验证码标识
     */
    public static final String MEMBER_CHANGE_PASSWORD_CAPTCHA = "memberChangePasswordCaptcha_";
    /**
     * 会员修改手机号用的短信计数标识
     */
    public static final String MEMBER_CHANGE_PHONE_COUNT = "memberChangePhoneCount_";

    /**
     * 会员手机号用的短信验证码标识
     */
    public static final String MEMBER_CHANGE_PHONE_CAPTCHA = "memberChangePhoneCaptcha_";
    /**
     * 会员代理商申请用的短信计数标识
     */
    public static final String MEMBER_AGENT_APPLY_COUNT = "memberAgentApplyCount_";

    /**
     * 会员代理商申请用的短信验证码标识
     */
    public static final String MEMBER_AGENT_APPLY_CAPTCHA = "memberAgentApplyCaptcha_";
    /**
     * 发送短信时的场景,login-登录,修改密码-updatePassword,修改手机号-updatePhone,代理申请-agentApply
     */
    public static final String[] MEMBER_SEND_SMS_SCENE = {"login", "updatePassword", "updatePhone", "agentApply"};
}
